import { install } from '../../install.js';
import index from './index.vue';

// 编辑器
JE.loadUEditorScript();

// install('proposal', index);
// 安装组件
install('proposal', index, () => {
  const wrp = document.createElement('div');
  const id = 'jevue-proposal';
  wrp.setAttribute('id', id);
  wrp.innerHTML = '<proposal></proposal>';
  document.body.appendChild(wrp);

  new Vue({
    el: wrp,
  });
});
